//
//  MTBaseViewController.h
//  ebook
//
//  Created by 吴超飞 on 16/1/14.
//  Copyright © 2016年 Moton. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaiduMobStat.h"
#import "CoreStatus.h"
#import "LeafNotification.h"
#import "AppDelegate.h"
#import "ToastView.h"

@interface MTBaseViewController : UIViewController

-(BOOL)isNetConnect;

//分享
- (void)sharewithview:(UIView *)shareView text:(NSString *)text dic:(NSDictionary *)dict imagesArray:(NSArray *)imageArray;

- (void)createBackItem;
- (void)back;

//将某个时间戳转化成日期
-(NSString *)timestampSwitchDate:(NSInteger)timestamp;

@end
